package com.Java.train.business.feign;

import com.Java.train.common.req.MemberTicketReq;
import com.Java.train.common.response.CommonResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

//@FeignClient(name = "train-member", url = "http://127.0.0.1:8001/member")
@FeignClient("member")
public interface MemberTicketFeign {
    @PostMapping("/member/feign/ticket/save")
    CommonResp<Object> modify(@RequestBody MemberTicketReq req);
}
